home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / as97ppup / as97popu.txt < prev    next >
Text File  |  1998-01-05  |  4KB  |  160 lines

  1. COMPONENT: as97Popup
  2. RELEASE DATE: 01/05/1998
  3.  
  4.  
  5. BRIEF USAGE DESCRIPTION:
  6. ------------------------
  7. You can use this control for a variety of Office 97/98 style
  8. operations.  It can act like an IE popup button, a hyperlink
  9. text display, an Office 97 style LED button, and any combination
  10. of those things.  The control uses very little resources but provides
  11. all the things neccesary to make your application look and act like
  12. a Microsoft Office 97/98 style application.
  13.  
  14.  
  15. NON-STANDARD PROPERTIES:
  16. ------------------------
  17. <-BackPicture->
  18. This is the picture to be tiled, wallpapered or stretched in the 
  19. background of the popup button.
  20.  
  21. <-BevelWidth->
  22. This is the thickness, in pixels, of the frame drawn around the button
  23. when the mouse is over it.
  24.  
  25. <-ClickPointer->
  26. This specifies the mouse pointer while the click event is firing. Saves time
  27. writing code to switch the MousePointer to an hourglass etc. during long events.
  28.  
  29. <-ClickSound->
  30. This is the filename and path to a *.wav file that is played when the 
  31. button is clicked.
  32.  
  33. <-CustomAutoSize->
  34. When True, lets the control handle the sizing the CustomPicture.  When False
  35. the developer can set the Width and Height of the CustomPicture through the 
  36. CustomWidth and CustomHeight properties.
  37.  
  38. <-CustomHeight->
  39. The height, in pixels, of the CustomPicture when CustomAutoSize is False.
  40.  
  41. <-CustomWidth->
  42. The width, in pixels, of the CustomPicture when CustomAutoSize is False.
  43.  
  44. <-Display->
  45. Set to either Tile, Wallpaper, or Stretch to tell the control
  46. how to display the BackPicture.
  47.  
  48. <-HyperLink->
  49. The URL run when the user clicks on the popup button.  This can also be
  50. a 'mailto:' address for sending e-mail.
  51.  
  52. <-Layout->
  53. The layout of the CustomPicture and Caption in relation to each other.
  54.  
  55. <-MaskColor->
  56. The color of the CustomPicture that is set to transparent when the BackStyle
  57. is Transparent.
  58.  
  59. <-MouseDownColor->
  60. The color of the Caption text while the mouse is down.
  61.  
  62. <-MouseDownPicture->
  63. The CustomPicture while the mouse is down.
  64.  
  65. <-MouseIcon->
  66. The cursor icon while the mouse is over the popup button.
  67.  
  68. <-MouseOverColor->
  69. The color of the Caption text while the mouse is over the popup button.
  70.  
  71. <-MouseOverPicture->
  72. The CustomPicture while the mouse is over the popup button.
  73.  
  74. <-UseFrame->
  75. Boolean value used to determine whether or not to display a frame when
  76. the mouse is over the button.
  77.  
  78.  
  79. NON-STANDARD METHODS:
  80. ---------------------
  81. <-ParentMouseMove->
  82. Used when the popup button is transparent.  Use this method in the
  83. MouseMove event of the container of the popup button.  This ensures true
  84. transparency.
  85.  
  86.  
  87. NON-STANDARD EVENTS:
  88. --------------------
  89. <-MouseEnter->
  90. Fired when the mouse pointer enters the region of the popup button.
  91.  
  92. <-MouseExit->
  93. Fired when the mouse pointer exits the region of the popup button.
  94.  
  95.  
  96. STANDARD PROPERTIES:
  97. --------------------
  98. BackColor
  99. BackStyle
  100. Caption
  101. Container
  102. DragIcon
  103. DragMode
  104. DrawMode
  105. DrawStyle
  106. DrawWidth
  107. Enabled
  108. Font
  109. ForeColor
  110. Height
  111. Index
  112. Left
  113. MousePointer
  114. Name
  115. Object
  116. OLEDropMode
  117. Parent
  118. Tag
  119. ToolTipText
  120. Top
  121. Visible
  122. WhatsThisHelpID
  123. Width
  124.  
  125.  
  126. STANDARD METHODS:
  127. -----------------
  128. Drag
  129. Move
  130. OLEDrag
  131. PopupMenu
  132. ShowWhatsThis
  133. ZOrder
  134.  
  135.  
  136. STANDARD EVENTS:
  137. ----------------
  138. Click
  139. DragDrop
  140. DragOver
  141. KeyDown
  142. KeyPress
  143. KeyUp
  144. MouseDown
  145. MouseMove
  146. MouseUp
  147. OLECompleteDrag
  148. OLEDragDrop
  149. OLEDragOver
  150. OLEGiveFeedback
  151. OLESetData
  152. OLEStartDrag
  153.  
  154.  
  155. TECHNICAL USAGE NOTES:
  156. ----------------------
  157. The ParentMouseMove method is the only way we've found to ensure
  158. true transparency without utilizing massive amount of system
  159. resources.
  160.